home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / HENSA / COLOUR / PALETTE.ARC / !Palette_Documents_ReadMe < prev    next >
Encoding:
Text File  |  1994-02-07  |  23.1 KB  |  598 lines

  1. Palette 1.34 (07-Feb-1994)
  2. ==========================
  3.  
  4. (c) James Ponder (Jp) of DoggySoft, 1993-1994
  5.  
  6.  
  7. This program is not Public Domain, this is the full version but if you
  8. continue to use it for longer than a month then please register (for details
  9. about registration then please read 'Register' in the 'Documents' directory).
  10.  
  11.  
  12.  
  13. Introduction
  14. ============
  15.  
  16. This program has been written as a replacement PaletteUtil as I was not
  17. satisfied with the default module included with RiscOs. The main advantages
  18. of using this Palette are as follows:
  19.  
  20.   **  Displays current mode on iconbar.
  21.   **  Search for modes of a certain resolution and number of colours.
  22.   **  Has contrast and brightness controls.
  23.   **  You can save and load palette files that contain parts of the palette.
  24.   **  You may have several (up to 16) default palettes.
  25.   **  It has a much better palette editor (contrast/brightness controls).
  26.   **  The mode menu is user changeable.
  27.   **  The modes can be selected using hotkeys very quickly.
  28.   **  The whole program is very flexible with lots of configurations.
  29.   **  Two palette altering modes, RGB and CMYK.
  30.   **  Supports all RiscOs 3 palette star commands.
  31.   **  Includes a screen saver.
  32.  
  33. and many more features...
  34.  
  35.  
  36.  
  37. The basics
  38. ==========
  39.  
  40. The palette allows you to set to the colours used by the desktop, and the
  41. screen modes used to display te desktop. The palette icon is located on the
  42. right of the icon bar. The basic functions are:
  43.  
  44.   * setting the palette (the colours used on the desktop)
  45.   * inverting the screens colours
  46.   * changing to a different screen mode
  47.   * saving the current palette
  48.   * setting the desktop to its default values
  49.  
  50. Each basic section also has a number of extension sections, please refer
  51. the relevant area of this file for more details.
  52.  
  53.  
  54.  
  55. Palette altering
  56. ================
  57.  
  58. The palette defines the set of 16 colours that will be used by the desktop
  59. and the colours of the pointer and the screen border. Each colour is defined
  60. in terms of the intensity of the red, green and blue colour 'guns' in your
  61. monitor. For example, setting all three guns to zero intensity produces
  62. black, and all three fully on produces white.
  63.  
  64. To see the current setting, click on the palette icon. The palette window
  65. then appears. You can check the precise setting of a colour by clicking on
  66. it. The logical number associated with the colour is displayed, and the
  67. sliders at the top of the window show the red, green and blue intensities.
  68. To change a setting, position the pointer within one of the sliders, and drag
  69. it to the level you want. The colours on the whole screen reflect the changes
  70. as you make them (not true for 256 colour modes).
  71.  
  72. You can use the palette to change the border and pointer colours, by clicking
  73. on one of the special boxes to the right of the grid of colours and adjusting
  74. the sliders as above. The boxes are:
  75.  
  76.   * BD - to set the screen border colour     Referred to as colour 16
  77.   * M1 - to set the pointer's outer colour   Referred to as colour 17
  78.   * M2 - to set the pointer's inner colour   Referred to as colour 18
  79.   * M3 - to set the pointer's misc colour    Referred to as colour 19
  80.  
  81. Note that if you change the colour balance of colours 0 (white) or 7 (black),
  82. the grey tones 1-6 are changed to match.  However, if you then restore
  83. colour 0 or colour 7 by dragging the sliders back to their original
  84. positions, you will find that the grey tones are not identical to the ones
  85. you started with.  To restore the original palette, choose a default palette
  86. from Palette's icon bar menu.
  87.  
  88. When you have finished changing the palette, click on the close icon in the
  89. palette window. If you want to save the changes permanently, see 'Saving a
  90. palette file' below.
  91.  
  92. There are contrast and brightness controls, the calculation involved is that
  93. the red, green and blue elements are multiplied by (brightness/64) and then
  94. contast is added to the red, green and blue elements of each colour.
  95.  
  96. You can also edit in CMYK mode, an alternative to the standard RGB editing
  97. method, see below.
  98.  
  99.  
  100.  
  101. CMYK palette altering
  102. =====================
  103.  
  104. Palette supports CMYK (Cyan-Magenta-Yellow-Key), a well known method of
  105. colour seperation for printing.
  106.  
  107. You can treat the editors as using the same principle as RGB (Red-Green-Blue)
  108. editing, but in actual fact as you drag the bars around they are converted
  109. back into RGB for RISC OS to handle.
  110.  
  111. If you are editing in CMYK mode you may notice some interesting effects, if
  112. you drag the bars around and then select the same colour that you are
  113. presently editing, the bars will change position.  This is because it will
  114. try and find the least amount of ink to be used when printing.
  115.  
  116.  
  117.  
  118. Inverting
  119. =========
  120.  
  121. Unlike the RISC OS Palette, you have the option to invert not only the grey
  122. colours 0 to 7, but also colours 8 to 15. The action of inverting either the
  123. greyscale or the colourscale can be configured to either a 'swapping'
  124. technique as used on the RISC OS Palette or a 'real invert'. The swapping
  125. method swaps colours 0 and 7, colours 1 and 6 and so on, whereas the 'real
  126. invert' actually inverts each individual colour by taking the red, green and
  127. blue compositions and subtracting them from 255.
  128.  
  129. Inverting will also invert the RGB form of the colour, the CMYK will be
  130. recalculated.
  131.  
  132.  
  133.  
  134. Saving a palette file
  135. =====================
  136.  
  137. If you change the desktop colours, you may wish to save them for later use.
  138. To do this, follow the 'Save' option on the iconbar menu. This leads to a
  139. save box.
  140.  
  141. The save box is used as normal, except that it has a section at the bottom
  142. for specifying a range of colours - you don't have to save all of them. It is
  143. often useful, for example, to be able to save all the ordinary colours but
  144. not the mouse or border colours.
  145.  
  146. If you can see the range icons then Palette will save using the numbers it
  147. has been given.  If you have not toggled the window so that the icons are in
  148. view then it will save the entire palette.
  149.  
  150. Note that the standard RISC OS Palette utility cannot read the palette files
  151. unless they have all the colours loaded.
  152.  
  153.  
  154.  
  155. Loading a palette file
  156. ======================
  157.  
  158. To restore the palette from a file, either double-click on a palette file,
  159. or drag the file onto the palette icon on the icon bar. Palette files are
  160. indicated by a palette icon in the directory display.
  161.  
  162.  
  163.  
  164. Defaults
  165. ========
  166.  
  167. A number of default palette files are included with this program so that
  168. you may 'return' to some useful selection of colours:
  169.  
  170.   a)  !Default    - Default palette
  171.   b)  !Default2   - Default palette with darker border and nice mouse colours
  172.   c)  Grey16      - A grey palette
  173.   d)  Grey16-1    - A grey palette in reverse
  174.   e)  Neon        - A neon palette for night time viewing
  175.   f)  RealGrey    - A grey representation of the default palette
  176.  
  177. The reason that the first two files have a '!' before them is so that they
  178. are always at the top of the menu. Don't put '!'s before any of the palette
  179. files unless it is to make them move to the top.   When you click on the
  180. 'Default' option it will choose the top item in the menu.
  181.  
  182. To add/delete/change the palette files then just alter the files in the
  183. directory marked 'Defaults'. It will not take effect immediately - you will
  184. have to reload the program.
  185.  
  186. If there are no palette files in the directory 'Defaults' then the submenu
  187. will be removed and Palette's internal default is used.
  188.  
  189. I do not currently know how to deal with 256 colour palettes, so don't put
  190. any in Palette's 'Defaults' directory as it won't work.  If anyone could
  191. provide me with documents I would be most grateful.
  192.  
  193.  
  194.  
  195. Mode Menu
  196. =========
  197.  
  198. One of the most used feature of the Palette is that of changing modes. On the
  199. original Acorn Palette there was a set number of modes and that was of course
  200. very limiting as usually it doesn't have the mode that you most commonly use.
  201.  
  202. The first thing to decide is how many modes you want on the menu. If you want
  203. 4 'permanent' modes then you must ask for 5 entries on the menu as there is
  204. always a writeable icon at the bottom of the mode menu (like the original
  205. has). Go to the options window and change the number of entries on the mode
  206. menu (in this case to 5); also select the option that says that you can edit
  207. the modes from the mode menu.
  208.  
  209. Now that you are in the editing mode, you can now follow the Icon bar menu to
  210. get to the mode menu. As you can see all the entries have a caret in them so
  211. that you can alter them. Make sure there is a space after each number (before
  212. the text). The text doesn't have to be in brackets (it just looks nice if it
  213. is).
  214.  
  215. If you decide that you chose too many icons (or too few) then you can change
  216. the options again without destroying the contents of the icons you just made.
  217.  
  218. Once you have set it up, go back to the options and alter the width of the
  219. mode menu; this will not change any of the text (ie, it will not shrink the
  220. text) just the size of the icons in the menu. Once everything is perfect
  221. just de-select the editing icon in the options window and all the icons bar
  222. the bottom one will become 'permanent' (not writeable).
  223.  
  224.  
  225.  
  226. Mode Finder and Mode Display
  227. ============================
  228.  
  229. RISC OS mode numbers are not very useful - they tell you absolutely nothing
  230. about the mode. Palette allows you to search for modes by their number of
  231. colours and resolution. Select 'Mode' on the iconbar menu to open the mode
  232. find window or select 'Mode Finder' from the 'Misc' menu.
  233.  
  234. The top section of the window allows you to specify the number of colours
  235. that you are looking for, and the resolution - 'low', 'medium' or 'high'. In
  236. general, high resolution modes can only be used on a VGA or multisync
  237. monitor.
  238.  
  239. The bottom section of the window is a scrolling list of the modes which fit
  240. the specification. Clicking on a mode changes to that mode.
  241.  
  242. You can specify in the options window whether you want the modes to be
  243. 'validated'. If the modes are validated, then only the modes which can be
  244. used on your monitor are listed - if they aren't, all modes fitting the
  245. specification are listed. Validating the modes makes mode finding slightly
  246. slower.
  247.  
  248.  
  249. The 'Mode Display' option opens up a window with a grid of icons, the purpose
  250. is to allow you to quickly see which modes are installed on your computer.
  251.  
  252. If an icon is shaded out, it means that the mode is either not available or
  253. that it is a text-only mode. The foreground colour of each icon represents
  254. how many colours each mode has:
  255.  
  256.   Grey - 4 or 2 colours
  257.   Blue - 16 colours
  258.   Red  - 256 colours
  259.  
  260. After each mode number there is a letter, 'l', 'm' or 'h'.  These correspond
  261. to the resolution of the mode, ie. 'low', 'medium' or 'high'.  Clicking on
  262. an icon changes to that mode.
  263.  
  264. When you use this feature Palette invokes an external application, this is
  265. because this feature is not one that is likely to be used very much and the
  266. memory would be wasted if built-in to Palette.
  267.  
  268.  
  269.  
  270. Randomise
  271. =========
  272.  
  273. This is a superb routine that randomises the palette! It is located on the
  274. Edit Palette window, try it and see. (Just not on a full stomach...)
  275.  
  276.  
  277.  
  278. Hotkeys
  279. =======
  280.  
  281. The hotkeys used by this program have been chosen so that they should not
  282. interfere with any other known program. To activate a hotkey press the left
  283. CTRL key and the left SHIFT key (in any order) and then press a key command:
  284.  
  285. keys '1' to '0' operate the mode menu. 1 will change mode to the mode in the
  286. (top strip)     first menu option, 9 the 9th, and 0 the 10th.
  287. Keypad numbers  allow you to change to a specific mode.
  288. key  '-'   will toggle the icon on the icon bar.
  289. key  '='   will default the palette to the first palette on the menu.
  290. key  '£'   will cause the caret to be lost.
  291. key  'Esc' will open up a window displaying the day, date and time.
  292.  
  293. You may also change mode by specifying the actual mode number to change to.
  294. First hold down the left CTRL and the left SHIFT keys as usual and then type
  295. in the mode number you want to change to on the keypad:
  296.  
  297. hold down: left CTRL and left SHIFT
  298. press and release: 1 (on keypad)
  299. press and release: 5 (on keypad)
  300. release: left CTRL and left SHIFT
  301.  
  302. This changes from your current mode to mode 15.
  303.  
  304.  
  305.  
  306. Why would I want to make the icon disappear?
  307. ============================================
  308.  
  309. Some people after they have set up the mode menu may not want to have lots
  310. of icons on the icon bar, so Palette provides the option of hiding its icon.
  311. You can still use the hotkeys to change mode. Use the hotkey '-' to bring the
  312. icon back.
  313.  
  314.  
  315.  
  316. Miscellaneous features
  317. ======================
  318.  
  319. Clicking on 'Options' will do the same as clicking with adjust on the icon
  320. bar: produce the options window for Palette. For details about the options
  321. window then please read 'Configuring this program'.
  322.  
  323. Clicking on 'Lose Caret' will of course disown the caret from any window.
  324. This is useful when hotkeys are needed by some programs (eg. Menon or
  325. IconDir).
  326.  
  327. For information about the 'TaxanModes' menu, please see 'Configuring this
  328. program'.
  329.  
  330. For information about the 'Mode Finder' and 'Mode Display' options please
  331. read 'Mode Finder and Mode Display', earlier in this file.
  332.  
  333.  
  334.  
  335. Configuring this program
  336. ========================
  337.  
  338. You can configure this program by clicking 'adjust' on the iconbar or by
  339. selecting 'Options' from the iconbar menu. Options avaliable are:
  340.  
  341.   a)  Icon installs on startup
  342.   b)  A beep is sounded when you change mode using hotkeys
  343.   c)  A quit from the task manager will kill the PaletteUtil module.
  344.   d)  Modes on the mode menu can/cannot be editted.
  345.   e)  Inverting the greyscale will use the 'real invert' method.
  346.   f)  Inverting colours 8-15 will use the 'real invert' method.
  347.   g)  Number of items on the mode menu.
  348.   h)  Width in characters of items on the mode menu.
  349.   i)  Reset Contrast/Brightness on new palette.
  350.   j)  Contrast/Brightness affect mouse pointer.
  351.   k)  Colour options (4096 or 16.8 million).
  352.   l)  Screen saver options.
  353.   m)  TaxanModes loading options.
  354.   n)  Mode finder options.
  355.   o)  Grading options.
  356.   p)  Clock options.
  357.  
  358. Also on the options window there is a 'quit' icon. Clicking on this will
  359. produce a small menu with 'Temporary' and 'Permanent' on them - a temporary
  360. quit means that the program can be re-loaded without using a disc by going
  361. to the task manger icon and entering 'Desktop_PaletteUtil' at 'New task'.
  362. A permanent quit will totally quit the program, and kill the module.
  363.  
  364. Note that when the new Palette dies, the old RISC OS one does not start up
  365. again - this is because the RISC OS Palette unfortunately prohibits this.
  366.  
  367. The number of items in the mode menu is important when tailoring your copy
  368. of Palette. This is one of the most useful features - you can change the text
  369. and the modes in the mode menu.
  370.  
  371. Colour options are used by Palette to know whether or not to round the
  372. palette down or not (when you drag the bars for example). This is useful
  373. because setting R, G and B to 240, 244, and 248 will actually be rounded
  374. down by the Wimp to 240, 240 and 240 if you don't have a colour enhancer,
  375. therefore to reflect this you should configure Palette to 4096 colours.
  376.  
  377. TaxanModes options are for people who own a Taxan795 monitor (maybe other
  378. Taxans). If you do not have a Taxan monitor then disable the feature as it
  379. is useless. If you have a hard disc then you may like to have the modules
  380. loaded when you select one of the modules on the Misc menu or if you have
  381. a floppy drive and don't want to insert the disc which has Palette on it,
  382. then you may like to select the option to load both modules into memory for
  383. good (this uses around 6k).
  384.  
  385. There are two grading options, the first "Grade when changing colours 0
  386. and 7" means that Palette will 'grade' the palette when you change either
  387. colour 0 (white) or colour 7 (black) so that colours 1 to 6 match them.
  388. You may unselect this option so that Palette will no longer do that.
  389.  
  390. When you randomise a palette from the Edit Palette window, and the "Grade
  391. when randomising" is set then it will make sure that colours 0 to 7 are
  392. graded as well, this can lead to better palettes being randomised.
  393.  
  394. The clock options are very configurable, you may ask Palette to open it on
  395. startup, rather than use the hotkey to open it.  The position, size and
  396. format of the icon is also user configurable.  The icon will be word wrapped
  397. by the Wimp so multiple line entries are acceptable.
  398.  
  399. You can specify an offset from the top or the bottom of the screen, this is
  400. useful if you want the clock to always be in the top left corner in all
  401. screen modes.
  402.  
  403.  
  404.  
  405. Clock
  406. =====
  407.  
  408. The format field is very flexible, the string is copied character for
  409. character unless a '%' is found.  If this character is followed by any of
  410. the following codes, then the appropriate value is used:
  411.  
  412. cs    Centi-seconds
  413. se    Seconds
  414. mi    Minutes
  415. 12    Hours in 12 hour format
  416. 24    Hours in 24 hour format
  417. pm    'am' or 'pm'
  418. we    Weekday, in full
  419. w3    Weekday, in three characters
  420. wn    Weekday, as a number
  421. dy    Day of the month
  422. st    "st", "nd", "rd" or "th"
  423. mo    Month name, in full
  424. m3    Month name, in three characters
  425. mn    Month name, as a number
  426. ce    Century-1 (eg. 19)
  427. yr    Year within century
  428. wk    Week of the year, Mon to Sun
  429. dn    Day of the year
  430. %     Insert a '%'
  431.  
  432. To cause leading zeros to be omitted, prefix the field with the letter 'z',
  433. for example "%z12".
  434.  
  435. The hotkey is CTRL-SHIFT and ESCAPE.
  436.  
  437.  
  438. Screen saver
  439. ============
  440.  
  441. In the options window are the options for the screen saver.  The first option
  442. is to tell Palette whether or not to screen save the screen, and following
  443. that is the delay time - defaulted at 5 mins.
  444.  
  445. Palette provides two effects, the first is "Dancing Lines" and the second is
  446. "Fireworks display".  The "Dancing Lines" effect is mode independant, but the
  447. second enters mode 15 to run.  There is also the option to "Just blank" so
  448. that the screen just blanks instead of making an effect.
  449.  
  450. The "Fade screen before" option involkes a random screen wipe to black,
  451. instead of jumping to black to start the effect.
  452.  
  453. NB: Unfortunately there seems to be some conflict between the built in RO3
  454. screen saver (infact, anything that switches off the MemC), therefore you
  455. should make sure that both screen savers are not enabled at the same time.
  456. (Palette will automatically disable the built-in RO3 Palette on start up if
  457. you have enabled Palette's screen saver.)
  458.  
  459.  
  460. The effects in Palette are just two of the many effects that the shareware
  461. program LifeGuard can do.  LifeGuard is a modular system and runs LifeGuard
  462. effect files which you can write yourself.  LifeGuard also has a password
  463. facility and can choose a random effect from a list of effects that you have
  464. loaded.  LifeGuard also supports out-of-desktop blanking which Palette does
  465. not.
  466.  
  467.  
  468.  
  469. Registration window
  470. ===================
  471.  
  472. The registration window that appears on startup will automatically close if
  473. another task loads up.  This is so that Palette may be added to a boot file,
  474. as it would be very annoying for the registration window to appear every time
  475. you turn on the computer!  Because of this you must make sure that Palette is
  476. not the last task in your boot sequence.
  477.  
  478.  
  479.  
  480. Programs from DoggySoft
  481. =======================
  482.  
  483. Buy "The Hacker", only £5 from DoggySoft. A wonderful games-hacking utility,
  484. that makes it incredibly easy to make your own cheats for games - infinite
  485. lives, extra time, whatever you like. You just press Alt-Alt while in the
  486. game, and The Hacker pops up to allow you to poke around! Many features are
  487. provided to help with making cheats. You can then return back to the game,
  488. exactly where you left off...
  489.  
  490.  
  491. Buy "Diss", from DoggySoft. Incredible value at only £10. The BEST desktop
  492. disassembler for the Archimedes, it has FAR too many features to list them
  493. all here, but they include:
  494.   * multiple files
  495.   * multiple views
  496.   * FAST disassembly
  497.   * Add labels to the code - so instead of:
  498.       B       &38271738
  499.     you get:
  500.       B       mouse_click
  501.   * Automatic labels generation for:
  502.       module entry points, SharedCLibrary functions, ABCLib functions,
  503.       BASIC assembler programs, LINKed programs
  504.   * Automatic un-squeezing of squeezed files
  505.   * Simple built-in assembler for editing programs
  506.   * Search code to produce list of addresses
  507.       Search for SWIs, instructions, values, references, etc.
  508.   * Source code generator
  509. etc. etc. etc... This product is indispensable for the serious programmer.
  510.  
  511.  
  512. Also, look out for DoggySoft public-domain products, such as:
  513.   WimpExtension  Desktop programming module (as used in Palette)
  514.   Rough Time     Excellent clock utility, with alarms
  515.   HourMake       Make your own custom hourglass
  516.   FileExtras     Useful file utilities
  517.   NodeList       Nodelist browser for scanning for BBSes
  518.   IconDir        Provides a disc stucture with icons on a menu
  519.   Cookies        Gives you a nice cookie on startup!
  520.  
  521. Watch out for Light Cycles, coming soon...
  522.  
  523.  
  524.  
  525. Copyright
  526. =========
  527.  
  528. This program may be distributed everywhere, if you want to include it on a
  529. magazine or PD library then you should contact me for a new version.
  530.  
  531. The 'Sprites' file included in this program may be altered, but you must
  532. distribute the un-altered version.  Make sure that the size of the sprites
  533. are not altered as this would probably do weird things.
  534.  
  535. Please note that after you have used this program for over a month, you are
  536. required to register as this is a shareware program.
  537.  
  538.  
  539.  
  540. Thanks
  541. ======
  542.  
  543. Thanks to David Coleman and David Dade for providing the best meeting place
  544. for Archimedes users, namely Arcade.
  545.  
  546. Thanks to Jon Ribbens for writing WimpExt that this program uses. (And for
  547. the mode-finding code.)
  548.  
  549. Thanks to Ben Dooks for buying my 'fixed by Watford Electronics' A3000.
  550.  
  551. Thanks to Owen Gilson for lots and lots of things:  For example he has helped
  552. me with this program by telling me about all the things I got wrong :-)
  553.  
  554. Thanks to Mark Wheeley for the 'randomise' suggestion.
  555.  
  556. Hello to everybody who uses Furzefield Hq, Arcade and Digital Databank.
  557.  
  558. Hello to Piers, because I'm sure he would like to be mentioned ;-)
  559.  
  560. Thanks to Edward Hobson for always helping me out with all things to do with
  561. comms... Give his BBS a call on 0829 782667 or 782676.
  562.  
  563. Thanks to Brian Howlett and Martin Tillman (two of my registered users) who
  564. have given me helpful hints and told me about bugettes.
  565.  
  566. Boo goes to Andrew Clover!
  567.  
  568.  
  569. Why you cannot reload the old Palette
  570. =====================================
  571.  
  572. When you quit Palette, you can then RMREINIT the old Palette Utility, but
  573. unlike most extension modules, you cannot then do Desktop_Palette as it says
  574. that you must do *Desktop to reload it... If you do "*Desktop" it will have
  575. the side effect of also reloading all ROM based RMKILLed modules.  To get
  576. around this, the only way is to directly send a Wimp_StartedWimp to force it
  577. to reload, but Acorn have provided no way to get the location of the private
  578. word of the Palette and so as far as I can see, there is no way (other than
  579. to reset) to reload the old Palette nicely.
  580.  
  581.  
  582.  
  583. Contacts
  584. ========
  585.  
  586. If you have any suggestions, or you have found a bug, or even if you just
  587. want to tell me how great you think this program is, ring or write to the
  588. address in the textfile 'DoggySoft'.
  589.  
  590. If you are a PD Company or a magazine then DoggySoft would be happy to
  591. supply copies of all our latest PD programs.
  592.  
  593. *****************************************************************************
  594. Do not forget to call the DoggySoft support BBS 'Furzefield Hq', 24hrs on
  595. (0494) 681711 for the latest versions of all our Public Domain and Commercial
  596. programs.  The FidoNet address is 2:252/166 if you wish to NetMail us.
  597. *****************************************************************************
  598.